package com.example.common.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Borrow {
    private Integer id;

    private Integer userId;

    private BigDecimal borrowMoney;

    private String borrowRate;

    private BigDecimal borrowManageMoney;

    private String borrowTerm;

    private Integer borrowTypeId;
    private String borrowTypeName;//借的类型
    private String borrowTypeName2;//借的类型


    private String borrowPurpose;

    private Integer borrowNum;

    private BigDecimal borrowedMoney;

    private String borrowTitle;

    private String picture;

    private List list;

    private Date borrowCreateTime;

    private Date borrowStartTime;

    private Date borrowFullTime;

    private Date repaymentDate;

    private Integer isFixedBorrow;

    private String borrowPwd;

    private Integer isPublic;

    private Integer isOverComplete;

    private Integer status;

    private Date borrowEndTime;

    private Integer serviceFeeId;

    private String borrowContent;

    private String guarantee;//担保人的姓名

    public Borrow(Integer id, Integer userId, BigDecimal borrowMoney, String borrowRate, BigDecimal borrowManageMoney, String borrowTerm, Integer borrowTypeId, String borrowPurpose, Integer borrowNum, BigDecimal borrowedMoney, String borrowTitle, String picture, Date borrowCreateTime, Date borrowStartTime, Date borrowFullTime, Date repaymentDate, Integer isFixedBorrow, String borrowPwd, Integer isPublic, Integer isOverComplete, Integer status, Date borrowEndTime, Integer serviceFeeId, String borrowContent) {
        this.id = id;
        this.userId = userId;
        this.borrowMoney = borrowMoney;
        this.borrowRate = borrowRate;
        this.borrowManageMoney = borrowManageMoney;
        this.borrowTerm = borrowTerm;
        this.borrowTypeId = borrowTypeId;
        this.borrowPurpose = borrowPurpose;
        this.borrowNum = borrowNum;
        this.borrowedMoney = borrowedMoney;
        this.borrowTitle = borrowTitle;
        this.picture = picture;
        this.borrowCreateTime = borrowCreateTime;
        this.borrowStartTime = borrowStartTime;
        this.borrowFullTime = borrowFullTime;
        this.repaymentDate = repaymentDate;
        this.isFixedBorrow = isFixedBorrow;
        this.borrowPwd = borrowPwd;
        this.isPublic = isPublic;
        this.isOverComplete = isOverComplete;
        this.status = status;
        this.borrowEndTime = borrowEndTime;
        this.serviceFeeId = serviceFeeId;
        this.borrowContent = borrowContent;
    }


}